require(['jquery', 'cookie', 'app', 'lay'], function ($) {
    require(['vue'], function (Vue) {
        var dic = new Vue({
            el: ".vue-box"
            , data: {
                where: [],
                User:{

                }
            }
            , created: function () {
                var ws=this.where;
                ws.push({
                    LIKE:"1",
                    ZDNAME:"c.F_ROLE_CODE",
                    ZDVAL:new acquire().parameterMap['F_ROLE_CODE']
                });
                this.where=ws;
                this.loadPage()
            }
            , methods: {
                loadPage: function () {
                    var json = {};
                    json["APPID"] = "550e8400-e29b-41d4-a716-446655440000";
                    json["uuid"] = "1566381003882";
                    var re = playAjax("1574998957822", json);
                    var toolbar = [];
                    if (re.code == '0') {
                        bspVIEW($(".sa-table"), "1566381003881", JSON.parse(re.data), this.where, toolbar);
                    }
                },
                seachs: function () {
                    this.where = whereJSON($(".el-form"));
                    this.loadPage();
                }
            }
        });
    })

});
